package JLB_Chapter_07;

public class GoShopping {
    public static void main(String[] args) {
        Market market = new WallMarket();
        market.name = "沃尔玛";
        market.goods = "裙子";
        market.shop();
        market = new TaobaoMarket();
        market.name = "淘宝";
        market.goods = "遮阳帽";
        market.shop();
    }
}
